package com.controller.sys.simInfo;

import com.common.anntation.Log;
import com.common.emums.BusinessType;
import com.model.base.Result;
import com.service.system.SimInfoService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Objects;

/**
 * TODO
 *
 * @Description
 * @Author tm
 * @Date 2023-10-31 18:48
 **/
@Api(tags = {"SIM卡管理"})
@Slf4j
@RestController
@RequestMapping("/v2/sim")
@RequiredArgsConstructor
public class SimInfoController {
    private final SimInfoService simInfoService;
    @Log(title = "SIM卡管理-测试用 导出SIM卡信息", businessType = BusinessType.INSERT)
    @ApiOperation(value = "测试用 导出SIM卡信息")
    @GetMapping("/testExcelSimInfo")
    public Result<Objects> testExcelSimInfo() {
        simInfoService.excelSimInfo();
        return Result.suc();
    }
}
